package com.zl.enums
{
	import mx.collections.ArrayCollection;
	
	public class GModuleType
	{
		public static const TestDate:GModuleType = new GModuleType("日期", "testDate");
		public static const PRODUCTID:GModuleType = new GModuleType("工件号", "productId");
		public static const GE:GModuleType = new GModuleType("空车相对摩擦系数", "ge");
		public static const GF:GModuleType = new GModuleType("重车相对摩擦系数", "gf");
		public static const G1:GModuleType = new GModuleType("枕簧静挠度", "g1");
		public static const G2:GModuleType = new GModuleType("枕簧刚度", "g2");
		public static const G3:GModuleType = new GModuleType("减振簧静挠度", "g3");
		public static const G4:GModuleType = new GModuleType("减振簧刚度", "g4");
		public static const G5:GModuleType = new GModuleType("斜楔角度", "g5");
		public static const G6:GModuleType = new GModuleType("主摩擦板与立柱磨耗板的摩擦系数", "g6");
		public static const G7:GModuleType = new GModuleType("斜楔副摩擦面与摇枕斜楔槽面的摩擦系数", "g7");
		public static const G8:GModuleType = new GModuleType("摇枕两立柱内侧面之间的距离", "g8");
		
		[Bindable] public static var GeModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,GE,G1, G2, G3, G4, G5, G6, G7,G8]);
		
		[Bindable] public static var GfModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID, GF, G1, G2, G3, G4, G5, G6, G7,G8]);
		
		
		public function GModuleType(n:String, v:String)
		{
			this._text = n;
			this._field = v;
		}
		
		private var _text:String;
		private var _field:String;
		
		public function get text():String
		{
			return _text;
		}
		public function get field():String
		{
			return _field;
		}
		
	}
}